# Description: Graphite2, grafit fontlar için bir işleme motorudur
# URL: http://projects.palaso.org/projects/graphitedev
# Packager: alihan-ozturk8@hotmail.com
# Depends on: cmake freetype python harfbuzz

name=graphite2
version=1.3.8
release=1
source=( http://downloads.sourceforge.net/silgraphite/graphite2-$version.tgz)

build() {
cd graphite2-$version
mkdir build
cd build

cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release  \
-Wno-dev ..
make
make docs
make DESTDIR=$PKG install

install -d -m755 $PKG/usr/share/doc/$name-$version
# cp -r -f doc/doxygen/{html,latex/refman.pdf} \
# $PKG/usr/share/doc/$name-$version
cp -r -f ../doc/* \
$PKG/usr/share/doc/$name-$version
}
